package com.liam.lotterysystem.controller.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author: LiamLMK
 * @CreateTime: 2024-10-16
 * @Description:
 * @Version: 1.0
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户登录请求体，包含用户手机号、验证码")
public class ShortMessageLoginParam extends UserLoginParam{
    /**
     * 电话
     */
    @NotBlank(message = "手机号不能为空")
    @Schema(description = "手机号")
    private String loginMobile;
    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    @Schema(description = "验证码")
    private String verificationCode;
}
